<!-- 工作流 -->
<template>
  <div style="width: 100%;">
    <iframe :src="pathUrl" style="width: 100%; min-height: calc(100vh - 110px);overflow: auto;"></iframe>
  </div>
</template>

<script>
  import settings from "@/settings"
  export default{
    name:'WorkActivity',
    data() {
      return {
        pathUrl: undefined
      }
    },
    created(){
      if(this.$route.params && this.$route.params.id){
        this.pathUrl = settings.url+'/modeler/modeler.html?modelId='+this.$route.params.id
      }else{
        this.msgError('请从列表中进入工作流设置')
      }
    }
  }
</script>

<style>
</style>
